Don't keep the filesystem model alive while querying files
authorBenjamin Otte <otte@gnome.org>
Mon, 2 Nov 2009 18:49:11 +0000 (19:49 +0100)
committerBenjamin Otte <otte@gnome.org>
Mon, 2 Nov 2009 19:11:09 +0000 (20:11 +0100)
commitba9f53397ff0b86ad56166c7fc91b4d499f7aefc
tree8467d984b11cbc627b2e935033b2d93f16f2748d
parent8632d8763d1613d2b938f47b155b68caf2d2cc57
Don't keep the filesystem model alive while querying files

This allows disposing of the filesystemmodel while the file enumeration
is still happening.
As the filechooser does not disconnect its signals because it assumes it
is the only owner of the model, this also prevents a SEGV when emitting
the "load-finished" signal in that case.
gtk/gtkfilesystemmodel.c